package com.xian.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 诗词类型管理对象 tb_poem_type
 * 
 * @author Hanys
 * @date 2025-04-07
 */
public class PoemType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** poem_id */
    @Excel(name = "poem_id")
    private Long poemId;

    /** 诗词类型 */
    @Excel(name = "诗词类型")
    private String type;

    /** 体裁类型 */
    @Excel(name = "体裁类型")
    private String formType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPoemId(Long poemId) 
    {
        this.poemId = poemId;
    }

    public Long getPoemId() 
    {
        return poemId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setFormType(String formType) 
    {
        this.formType = formType;
    }

    public String getFormType() 
    {
        return formType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("poemId", getPoemId())
            .append("type", getType())
            .append("formType", getFormType())
            .toString();
    }
}
